<%@page import="databank.DataBank"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="com.oreilly.servlet.MultipartRequest" %>
<%@ page import="com.oreilly.servlet.multipart.DefaultFileRenamePolicy" %>
<%@ page import="java.util.*" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style>
#up_result_body{
	width:100%;
	margin:0 auto;
	padding-top:50px;
	text-align: center;
}
#upload_button{
width: 100px;
height: 50px;
border: 2px dotted orange;
border-radius:20px;
}
</style>
<script>
function btn_list(){
	location.href="index2.jsp?inc_center=./databank/list.jsp";
}
</script>
</head>
<body>
<jsp:useBean id="bankVo" class="databank.DataBankVo" />
<!-- 파일할때는 파라미터를 못받게 되어있다. -->

<%
bankVo.setRequest(request);
DataBank bank = new DataBank();
bank.setVo(bankVo);
bank.insert();
%>


<div id="up_result_body">
	<h1>업로드 결과</h1>
	<br/><br/><br/><br/>
	<input type="button" value="목록" id="upload_button" onclick="btn_list()">
</div>
</body>
</html>